var _Freq=false;
var _halt=false; 
var _NavHalt = false;
var MSNavChannel=false;
var _newProjWeight = 77, _oldProjWeight = 23;//Default weights
var _reg = /^http(s)?\:\/\/windows\.microsoft\.com/i.test(document.referrer);
if(_reg){
	_halt = true;
}
var A=document.getElementsByName("MS.Nav.Channel");
if(typeof(A[0])!="undefined"&&A[0]!=null){
 MSNavChannel="MS.Nav.Channel="+A[0].getAttribute("content");
 //var _t =  var _t = COMSCORE.SiteRecruit.Broker.findPageMapping(); 
 //if(typeof(_t)!="undefined" && _t !=null && typeof(_t.prereqs)!="undefined" && _t.prereqs!=null){	
 var _surl = document.location.toString();
	if(/windows\.microsoft\.com\/en-us\//i.test(_surl)){
		if(/home/i.test(MSNavChannel)){
			_Freq=0.00156; _newProjWeight = 23, _oldProjWeight = 77;
		}else if(/Meet/i.test(MSNavChannel)){
			_Freq=0.00085;
		}else if(/Download-Shop/i.test(MSNavChannel)){
			_Freq=0.00015;
		}else if(/How-To/i.test(MSNavChannel)){
			_Freq=0.00012;
		}else if(/Support/i.test(MSNavChannel)){
			_Freq=0.00043;
		}
	}else if(/windows\.microsoft\.com\/en-ca\//i.test(_surl)){
		if(/home/i.test(MSNavChannel)){
			_Freq=0.0212; _newProjWeight = 41, _oldProjWeight = 59;
		}else if(/Meet/i.test(MSNavChannel)){
			_Freq=0.161; _newProjWeight = 34, _oldProjWeight = 66;
		}else if(/Download-Shop/i.test(MSNavChannel)){
			_Freq=0.029; _newProjWeight = 24, _oldProjWeight = 76;
		}else if(/How-To/i.test(MSNavChannel)){
			_Freq=0.019; _newProjWeight = 16, _oldProjWeight = 84;
		}else if(/Support/i.test(MSNavChannel)){
			_Freq=0.053; _newProjWeight = 17, _oldProjWeight = 83;
		}
	}else if(/windows\.microsoft\.com\/en-gb\//i.test(_surl)){
		if(/home/i.test(MSNavChannel)){
			_Freq=0.011; _newProjWeight = 32, _oldProjWeight = 68;
		}else if(/Meet/i.test(MSNavChannel)){
			_Freq=0.077; _newProjWeight = 32, _oldProjWeight = 68;
		}else if(/Download-Shop/i.test(MSNavChannel)){
			_Freq=0.0054; _newProjWeight = 11, _oldProjWeight = 89;
		}else if(/How-To/i.test(MSNavChannel)){
			_Freq=0.00159; _newProjWeight = 19, _oldProjWeight = 81;
		}else if(/Support/i.test(MSNavChannel)){
			_Freq=0.0085; _newProjWeight = 17, _oldProjWeight = 83;
		}
	}else if(/windows\.microsoft\.com\/en-au\//i.test(_surl)){
		if(/home/i.test(MSNavChannel)){
			_Freq=0.039; _newProjWeight = 27, _oldProjWeight = 73;
		}else if(/Meet/i.test(MSNavChannel)){
			_Freq=0.5; _newProjWeight = 27, _oldProjWeight = 73;
		}else if(/Download-Shop/i.test(MSNavChannel)){
			_Freq=0.036; _newProjWeight = 16, _oldProjWeight = 84;
		}else if(/How-To/i.test(MSNavChannel)){
			_Freq=0.026; _newProjWeight = 9, _oldProjWeight = 91;
		}else if(/Support/i.test(MSNavChannel)){
			_Freq=0.078; _newProjWeight = 16, _oldProjWeight = 84;
		}
	}else if(/windows\.microsoft\.com\/ja-jp\//i.test(_surl)){
		if(/home/i.test(MSNavChannel)){
			_Freq=0.0032; _newProjWeight = 29, _oldProjWeight = 71;
		}else if(/Meet/i.test(MSNavChannel)){
			_Freq=0.059; _newProjWeight = 23, _oldProjWeight = 77;
		}else if(/Download-Shop/i.test(MSNavChannel)){
			_Freq=0.0011; _newProjWeight = 24, _oldProjWeight = 76;
		}else if(/How-To/i.test(MSNavChannel)){
			_Freq=0.00084; _newProjWeight = 18, _oldProjWeight = 82;
		}else if(/Support/i.test(MSNavChannel)){
			_Freq=0.0027; _newProjWeight = 19, _oldProjWeight = 81;
		}
	}else if(/windows\.microsoft\.com\/de-de\//i.test(_surl)){
		if(/home/i.test(MSNavChannel)){
			_Freq=0.0175; _newProjWeight = 29, _oldProjWeight = 71;
		}else if(/Meet/i.test(MSNavChannel)){
			_Freq=0.045; _newProjWeight = 38, _oldProjWeight = 62;
		}else if(/Download-Shop/i.test(MSNavChannel)){
			_Freq=0.00327; _newProjWeight = 36, _oldProjWeight = 64;
		}else if(/How-To/i.test(MSNavChannel)){
			_Freq=0.0012; _newProjWeight = 30, _oldProjWeight = 70;
		}else if(/Support/i.test(MSNavChannel)){
			_Freq=0.0051; _newProjWeight = 15, _oldProjWeight = 85;
		}
	}else if(/windows\.microsoft\.com\/fr-fr\//i.test(_surl)){
		if(/home/i.test(MSNavChannel)){
			_Freq=0.008; _newProjWeight = 24, _oldProjWeight = 76;
		}else if(/Meet/i.test(MSNavChannel)){
			_Freq=0.07; _newProjWeight = 25, _oldProjWeight = 75;
		}else if(/Download-Shop/i.test(MSNavChannel)){
			_Freq=0.004; _newProjWeight = 25, _oldProjWeight = 75;
		}else if(/How-To/i.test(MSNavChannel)){
			_Freq=0.00124; _newProjWeight = 25, _oldProjWeight = 75;
		}else if(/Support/i.test(MSNavChannel)){
			_Freq=0.0065; _newProjWeight = 17, _oldProjWeight = 83;
		}
	}else if(/windows\.microsoft\.com\/zh-cn\//i.test(_surl)){
		if(/home/i.test(MSNavChannel)){
			_Freq=0.00345;  _newProjWeight = 47, _oldProjWeight = 53;
		}else if(/Meet/i.test(MSNavChannel)){
			_Freq=0.031;  _newProjWeight = 22, _oldProjWeight = 78;
		}else if(/Download-Shop/i.test(MSNavChannel)){
			_Freq=0.00088;  _newProjWeight = 24, _oldProjWeight = 76;
		}else if(/How-To/i.test(MSNavChannel)){
			_Freq=0.00081; _newProjWeight = 12, _oldProjWeight = 88;
		}else if(/Support/i.test(MSNavChannel)){
			_Freq=0.00229; _newProjWeight = 24, _oldProjWeight = 76;
		}
	}else if(/windows\.microsoft\.com\/ko-kr\//i.test(_surl)){
		if(/home/i.test(MSNavChannel)){
			_Freq=0.05; _newProjWeight = 39, _oldProjWeight = 61;
		}else if(/Meet/i.test(MSNavChannel)){
			_Freq=0.19; _newProjWeight = 32, _oldProjWeight = 68;
		}else if(/Download-Shop/i.test(MSNavChannel)){
			_Freq=0.0096; _newProjWeight = 20, _oldProjWeight = 80;
		}else if(/How-To/i.test(MSNavChannel)){
			_Freq=0.0082; _newProjWeight = 40, _oldProjWeight = 60;
		}else if(/Support/i.test(MSNavChannel)){
			_Freq=0.032; _newProjWeight = 20, _oldProjWeight = 80;
		}
	}else if(/windows\.microsoft\.com\/ru-ru\//i.test(_surl)){
		if(/home/i.test(MSNavChannel)){
			_Freq=0.0058; _newProjWeight = 29, _oldProjWeight = 71;
		}else if(/Meet/i.test(MSNavChannel)){
			_Freq=0.041; _newProjWeight = 30, _oldProjWeight = 70;
		}else if(/Download-Shop/i.test(MSNavChannel)){
			_Freq=0.0025; _newProjWeight = 18, _oldProjWeight = 82;
		}else if(/How-To/i.test(MSNavChannel)){
			_Freq=0.00124; _newProjWeight = 12, _oldProjWeight = 88;
		}else if(/Support/i.test(MSNavChannel)){
			_Freq=0.005; _newProjWeight = 17, _oldProjWeight = 83;
		}
	}else if(/windows\.microsoft\.com\/pt-br\//i.test(_surl)){
		if(/home/i.test(MSNavChannel)){
			_Freq=0.012; _newProjWeight = 39, _oldProjWeight = 61;
		}else if(/Meet/i.test(MSNavChannel)){
			_Freq=0.0036; _newProjWeight = 30, _oldProjWeight = 70;
		}else if(/Download-Shop/i.test(MSNavChannel)){
			_Freq=0.0023; _newProjWeight = 17, _oldProjWeight = 83;
		}else if(/How-To/i.test(MSNavChannel)){
			_Freq=0.00187; _newProjWeight = 5, _oldProjWeight = 95;
		}else if(/Support/i.test(MSNavChannel)){
			_Freq=0.0042; _newProjWeight = 22, _oldProjWeight = 78;
		}
	}else if(/windows\.microsoft\.com\/es-es\//i.test(_surl)){
		if(/home/i.test(MSNavChannel)){
			_Freq=0.011; _newProjWeight = 50, _oldProjWeight = 50;
		}else if(/Meet/i.test(MSNavChannel)){
			_Freq=0.034; _newProjWeight = 35, _oldProjWeight = 65;
		}else if(/Download-Shop/i.test(MSNavChannel)){
			_Freq=0.00315; _newProjWeight = 41, _oldProjWeight = 59;
		}else if(/How-To/i.test(MSNavChannel)){
			_Freq=0.0013; _newProjWeight = 14, _oldProjWeight = 86;
		}else if(/Support/i.test(MSNavChannel)){
			_Freq=0.00346; _newProjWeight = 18, _oldProjWeight = 82;
		}
	}else if(/windows\.microsoft\.com\/it-it\//i.test(_surl)){
		if(/home/i.test(MSNavChannel)){
			_Freq=0.024; _newProjWeight = 49, _oldProjWeight = 51;
		}else if(/Meet/i.test(MSNavChannel)){
			_Freq=0.038; _newProjWeight = 28, _oldProjWeight = 72;
		}else if(/Download-Shop/i.test(MSNavChannel)){
			_Freq=0.0053; _newProjWeight = 27, _oldProjWeight = 73;
		}else if(/How-To/i.test(MSNavChannel)){
			_Freq=0.0031; _newProjWeight = 12, _oldProjWeight = 88;
		}else if(/Support/i.test(MSNavChannel)){
			_Freq=0.01139; _newProjWeight = 16, _oldProjWeight = 84;
		}
	}else if(/windows\.microsoft\.com\/tr-tr\//i.test(_surl)){
		if(/home/i.test(MSNavChannel)){
			_Freq=0.0225; _newProjWeight = 25, _oldProjWeight = 75;
		}else if(/Meet/i.test(MSNavChannel)){
			_Freq=0.065; _newProjWeight = 26, _oldProjWeight = 74;
		}else if(/Download-Shop/i.test(MSNavChannel)){
			_Freq=0.012; _newProjWeight = 19, _oldProjWeight = 81;
		}else if(/How-To/i.test(MSNavChannel)){
			_Freq=0.0091; _newProjWeight = 30, _oldProjWeight = 70;
		}else if(/Support/i.test(MSNavChannel)){
			_Freq=0.038; _newProjWeight = 22, _oldProjWeight = 78;
		}
	}else if(/windows\.microsoft\.com\/nl-nl\//i.test(_surl)){
		if(/home/i.test(MSNavChannel)){
			_Freq=0.023; _newProjWeight = 29, _oldProjWeight = 71;
		}else if(/Meet/i.test(MSNavChannel)){
			_Freq=0.12; _newProjWeight = 37, _oldProjWeight = 63;
		}else if(/Download-Shop/i.test(MSNavChannel)){
			_Freq=0.022; _newProjWeight = 20, _oldProjWeight = 80;
		}else if(/How-To/i.test(MSNavChannel)){
			_Freq=0.00587; _newProjWeight = 17, _oldProjWeight = 83;
		}else if(/Support/i.test(MSNavChannel)){
			_Freq=0.0253; _newProjWeight = 12, _oldProjWeight = 88;
		}
	}
 }else{MSNavChannel=false;}
 if(!_Freq){ _NavHalt=true;}
COMSCORE.SiteRecruit.Broker.config={version:"5.0.3",testMode:false,cookie:{name:"msresearch",path:"/",domain:".microsoft.com",duration:90,rapidDuration:0,expireDate:""},thirdPartyOptOutCookieEnabled:false,prefixUrl:"",Events:{beforeRecruit:function(){}},mapping:[{m:"//[\\w\\.-]+/de-de",c:"inv_c_p176052898-DE-DE.js",f:_Freq,p:4,halt:_NavHalt},{m:"//[\\w\\.-]+/en-au",c:"inv_c_p176052898-EN-AU.js",f:_Freq,p:4,halt:_NavHalt},{m:"//[\\w\\.-]+/en-ca",c:"inv_c_p176052898-EN-CA.js",f:_Freq,p:4,halt:_NavHalt},{m:"//[\\w\\.-]+/en-gb",c:"inv_c_p176052898-EN-GB.js",f:_Freq,p:4,halt:_NavHalt},{m:"//[\\w\\.-]+/en-us/",c:"inv_c_p176052898-US.js",f:_Freq,p:4,halt:_NavHalt},{m:"//[\\w\\.-]+/en-us/internet-explorer/products/ie-9/welcome$|welcome\\-upgrade|welcome\\-upgrade2",c:"inv_c_blank.js",f:0,p:2,halt:true},{m:"//[\\w\\.-]+/en-US/windows/pc-selector",c:"inv_c_p178132240-pc-selector.js",f:0.12,p:5,halt:_halt},{m:"//[\\w\\.-]+/en-US/windows/tablets-computers",c:"inv_c_p178132240-tab-comp.js",f:0.12,p:5,halt:_halt},{m:"//[\\w\\.-]+/en-us/windows7/(products/anytime-upgrade-(reg|none|change-settings|n)|sync-providers|search)",c:"inv_c_blank.js",f:0,p:2,halt:true},{m:"//[\\w\\.-]+/en-US/windows-8/meet",c:"inv_c_p178132240-meet.js",f:0.12,p:5,halt:_halt},{m:"//[\\w\\.-]+/en-US/windows-8/new-pcs",c:"inv_c_p178132240-new-pcs.js",f:0.12,p:5,halt:_halt},{m:"//[\\w\\.-]+/es-es",c:"inv_c_p176052898-ES-ES.js",f:_Freq,p:4,halt:_NavHalt},{m:"//[\\w\\.-]+/fr-fr",c:"inv_c_p176052898-FR-FR.js",f:_Freq,p:4,halt:_NavHalt},{m:"//[\\w\\.-]+/it-it",c:"inv_c_p176052898-IT-IT.js",f:_Freq,p:4,halt:_NavHalt},{m:"//[\\w\\.-]+/ja-jp",c:"inv_c_p176052898-JA-JP.js",f:_Freq,p:4,halt:_NavHalt},{m:"//[\\w\\.-]+/ko-kr",c:"inv_c_p176052898-KO-KR.js",f:_Freq,p:4,halt:_NavHalt},{m:"//[\\w\\.-]+/nl-nl",c:"inv_c_p176052898-NL-NL.js",f:_Freq,p:4,halt:_NavHalt},{m:"//[\\w\\.-]+/pt-br",c:"inv_c_p176052898-PT-BR.js",f:_Freq,p:4,halt:_NavHalt},{m:"//[\\w\\.-]+/pt-BR/windows/pc-selector",c:"inv_c_p178132240-PT-BR-pc-selector.js",f:0.15,p:5,halt:_halt},{m:"//[\\w\\.-]+/pt-BR/windows/tablets-computers",c:"inv_c_p178132240-PT-BR-tab-comp.js",f:0.15,p:5,halt:_halt},{m:"//[\\w\\.-]+/pt-BR/windows-8/meet",c:"inv_c_p178132240-PT-BR-meet.js",f:0.15,p:5,halt:_halt},{m:"//[\\w\\.-]+/pt-BR/windows-8/new-pcs",c:"inv_c_p178132240-PT-BR-new-pcs.js",f:0.15,p:5,halt:_halt},{m:"//[\\w\\.-]+/ru-ru",c:"inv_c_p176052898-RU-RU.js",f:_Freq,p:4,halt:_NavHalt},{m:"//[\\w\\.-]+/tr-tr",c:"inv_c_p176052898-TR-TR.js",f:_Freq,p:4,halt:_NavHalt},{m:"//[\\w\\.-]+/zh-cn",c:"inv_c_p176052898-ZH-CN.js",f:_Freq,p:4,halt:_NavHalt},{m:"//[\\w\\.-]+/zh-cn/windows/pc-selector",c:"inv_c_p178132240-ZH-CN-PC-Sel.js",f:0.21,p:5,halt:_halt},{m:"//[\\w\\.-]+/zh-cn/windows/tablets-computers",c:"inv_c_p178132240-ZH-CN-tab-comp.js",f:0.21,p:5,halt:_halt},{m:"//[\\w\\.-]+/zh-cn/windows-8/meet",c:"inv_c_p178132240-ZH-CN-meet.js",f:0.21,p:5,halt:_halt},{m:"//[\\w\\.-]+/zh-cn/windows-8/new-pcs",c:"inv_c_p178132240-ZH-CN-new-pcs.js",f:0.21,p:5,halt:_halt},{m:"[\\w\\.-]+/[\\w-]+/((internet-explorer/products/ie-9/(welcome|welcome-upgrade|welcome-upgrade2))|(windows7/(products/anytime-upgrade-(reg|none|change-settings|n)|sync-providers|search)))",c:"inv_c_blank.js",f:0,p:5,halt:true},{m:"/((es-es)|(it-it)|(tr-tr)|(nl-nl))/((internet-explorer/products/ie-9/(welcome|welcome-upgrade|welcome-grade2))|(windows7/(products/anytime-upgrade-(reg|none|change-settings|n)|sync-providers|search)))",c:"inv_c_blank.js",f:0,p:0,halt:true}]};
COMSCORE.SiteRecruit.Broker.run();